﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="zxx" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <title>Ayurvedic - Medical Template</title>

    <link rel="shortcut icon" type="image/x-icon" href="assets/images/cropped-favicon-32x32.png"/>
    <link href="assets/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>

    <link href="assets/css/style.css" rel="stylesheet" type="text/css"/>

    <link href="assets/css/plugin.css" rel="stylesheet" type="text/css"/>

    <link href="assets/css/dashboard.css" rel="stylesheet" type="text/css"/>

    <link href="assets/fonts/flaticon.css" rel="stylesheet" type="text/css"/>

    <link href="assets/css/icons.css" rel="stylesheet" type="text/css"/>

    <link rel="stylesheet" href="assets/fonts/line-icons.css" type="text/css"/>
    <link rel="stylesheet" href="common/font-awesome/css/font-awesome.min.css">
    <script async src='/cdn-cgi/challenge-platform/h/g/scripts/invisible.js'></script>
</head>
<body>

<div id="preloader">
    <div id="status"></div>
</div>

<div th:replace="common/common-bar::#header"></div>


<div id="dashboard">
    <div class="container">
        <div class="dashboard-main">
            <div class="row">
                <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                    <div class="dashboard-content">
                        <div class="dashboard-review single-comments">
                            <div class="comments">
                                <div style="margin-top: 30px;text-align: center"><h3 th:text="${title eq null}?'全部':('与'+${title}+'相关的药如下')"></h3></div>
                                <div class="comment-box d-flex align-items-center justify-content-between" th:each="me:${medicineList}">
                                    <div class="comment-image">
                                        <a th:href="@{findMedicineOne(id=${me.id})}">
                                        <img th:src="${me.imgPath}" alt="image"/>
                                        </a>
                                    </div>
                                    <div class="comment-content" style="width: 80%;height: 150px">
                                        <a th:href="@{findMedicineOne(id=${me.id})}">
                                            <h5 class="m-0" th:text="${me.medicineName}">Helena</h5>
                                        </a>
                                        <p class="comment-date mb-2" th:text="${me.medicineBrand}+'牌'">April 25, 2019 at 10:46 am</p>
                                        <span class="num-rating white" th:text="${me.medicineType eq 0}?'西药':(${me.medicineType eq 1}?'中药':'中性药')">4.6/5</span>
                                        <span class="comment-title"><i>"是药三分毒，切忌不要乱吃药！"</i></span>
                                        <p class="comment mt-2" th:text="${me.medicineEffect}">
                                            Take in the iconic skyline and visit the neighbourhood hangouts that you've
                                            only ever seen on TV. Take in the iconic skyline and visit
                                            the neighbourhood.
                                        </p>
                                    </div>
                                </div>
                                <div class="comment-box d-flex align-items-center justify-content-between" th:if="${medicineList eq null}">
                                    <div class="comment-image">
                                        <img src="images/team/user-2.jpg" alt="image"/>
                                    </div>
                                    <div class="comment-content">
                                        <h5 class="m-0" >Helena</h5>
                                        <p class="comment-date mb-2" >April 25, 2019 at 10:46 am</p>
                                        <span class="num-rating white" >4.6/5</span>
                                        <span class="comment-title"><i>"是药三分毒，切忌不要乱吃药！"</i></span>
                                        <p class="comment mt-2" >
                                            Take in the iconic skyline and visit the neighbourhood hangouts that you've
                                            only ever seen on TV. Take in the iconic skyline and visit
                                            the neighbourhood.
                                        </p>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

    </div>
</div>

<section class="search-list-sh p-0">
    <div class="container">
        <div class="search-again bg-white text-center mt-n3">
            <div class="sc-title-two text-center mb-6">
                <h4 class="cl-green">没有找到你想要的结果吗？</h4>
                <h2>搜索一下</h2>
            </div>
            <div class="w-lg-75 m-auto">
                <p>
                    智慧医药您提供疾病查询,常见疾病大全,帮您全面了解疾病病因症状、检查治疗、饮食护理等信息,是您疾病查询的好帮手。
                </p>
                <div class="side-search position-relative overflow-hidden rounded-1 w-lg-50 m-auto mt-4">
                    <input type="text" class="form-control" id="search-medicine" placeholder="搜索..."/>
                    <a class="search-btn sh-hover bg-lgreen" onclick="searchMedicine()"><i class="fa fa-search"></i></a>
                </div>
                <!--<div style="margin-top: 20px">
                    <span>分类：</span>
                    <a th:each="kind:${kindList}" th:href="@{findIllness(kind=${kind.id})}"><span th:text="${kind.name}"></span>&nbsp;&nbsp;&nbsp;</a>
                </div>-->
                <div th:if="${history ne null}" style="margin-top: 10px">
                    <span>搜索历史：</span>
                    <a th:each="his:${history}" th:href="${his.operateType eq 3}?@{findMedicines(nameValue=${his.searchValue})}:@{findIllness(kind=${his.kind eq '无'}?null:${his.kind},illnessName=${his.nameValue eq '无'}?null:${his.nameValue})}"><span th:text="${his.operateType eq 3}?(${his.searchValue} + '(药)'):${his.searchValue}"></span>&nbsp;&nbsp;&nbsp;</a>
                </div>
            </div>
        </div>
    </div>
</section>


<div th:replace="common/common-bar::#back"></div>

<div th:replace="common/common-bar::#footer"></div>

<div th:replace="common/common-bar::#search"></div>


<div th:replace="common/common-bar::#back-to-top"></div>

<script src="assets/js/jquery-3.5.1.min.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
<script src="assets/js/plugin.js"></script>
<script src="assets/js/main.js"></script>
<script src="assets/js/custom-swiper.js"></script>
<script src="assets/js/custom-nav.js"></script>
<script src="common/utils/reg.js"></script>
<script src="common/layer/layer.js"></script>
<script src="common/custom.js"></script>
<script src="assets/js/xtiper.min.js"></script>
</body>
</html>
